import Vue from 'vue'
import VueRouter from 'vue-router'
import home from '../backend/home'
import category from '../backend/catalog/category'
import category_edit from '../backend/catalog/category_edit'
Vue.use(VueRouter);

var router = new VueRouter({
    routes: [
        {
            path: '/',
            component: home,

        },
        {
            path: '/catalog/category',
            component: category,

        },

        {
            path: '/catalog/category/edit/:category_id',
            component: category_edit,

        },
    ]
});
export default router;